<?php
namespace Rootadmin\Controller;
use Think\Controller;
class IndexController extends AdminController {
    public function index(){
        $sh_count=M("shop")->count();
        $ewm_count=M("qrcode")->count();
        $cz_count=M("shop_recharge_order")->count();
        $admin_count=M("admin")->count();
        $this->assign("sh_count",$sh_count);
        $this->assign("ewm_count",$ewm_count);
        $this->assign("cz_count",$cz_count);
        $this->assign("admin_count",$admin_count);
        $this->display();
    }
}